package com.click369.mianshiqingbao.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * 管理员信息的查询条件封装类
 */


public class AdminBeanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdminBeanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAdminIdIsNull() {
            addCriterion("admin_id is null");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNotNull() {
            addCriterion("admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdminIdEqualTo(Integer value) {
            addCriterion("admin_id =", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotEqualTo(Integer value) {
            addCriterion("admin_id <>", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThan(Integer value) {
            addCriterion("admin_id >", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_id >=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThan(Integer value) {
            addCriterion("admin_id <", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("admin_id <=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdIn(List<Integer> values) {
            addCriterion("admin_id in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotIn(List<Integer> values) {
            addCriterion("admin_id not in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("admin_id between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_id not between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberIsNull() {
            addCriterion("admin_tel_number is null");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberIsNotNull() {
            addCriterion("admin_tel_number is not null");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberEqualTo(String value) {
            addCriterion("admin_tel_number =", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberNotEqualTo(String value) {
            addCriterion("admin_tel_number <>", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberGreaterThan(String value) {
            addCriterion("admin_tel_number >", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberGreaterThanOrEqualTo(String value) {
            addCriterion("admin_tel_number >=", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberLessThan(String value) {
            addCriterion("admin_tel_number <", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberLessThanOrEqualTo(String value) {
            addCriterion("admin_tel_number <=", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberLike(String value) {
            addCriterion("admin_tel_number like", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberNotLike(String value) {
            addCriterion("admin_tel_number not like", value, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberIn(List<String> values) {
            addCriterion("admin_tel_number in", values, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberNotIn(List<String> values) {
            addCriterion("admin_tel_number not in", values, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberBetween(String value1, String value2) {
            addCriterion("admin_tel_number between", value1, value2, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminTelNumberNotBetween(String value1, String value2) {
            addCriterion("admin_tel_number not between", value1, value2, "adminTelNumber");
            return (Criteria) this;
        }

        public Criteria andAdminPassIsNull() {
            addCriterion("admin_pass is null");
            return (Criteria) this;
        }

        public Criteria andAdminPassIsNotNull() {
            addCriterion("admin_pass is not null");
            return (Criteria) this;
        }

        public Criteria andAdminPassEqualTo(String value) {
            addCriterion("admin_pass =", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassNotEqualTo(String value) {
            addCriterion("admin_pass <>", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassGreaterThan(String value) {
            addCriterion("admin_pass >", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassGreaterThanOrEqualTo(String value) {
            addCriterion("admin_pass >=", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassLessThan(String value) {
            addCriterion("admin_pass <", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassLessThanOrEqualTo(String value) {
            addCriterion("admin_pass <=", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassLike(String value) {
            addCriterion("admin_pass like", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassNotLike(String value) {
            addCriterion("admin_pass not like", value, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassIn(List<String> values) {
            addCriterion("admin_pass in", values, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassNotIn(List<String> values) {
            addCriterion("admin_pass not in", values, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassBetween(String value1, String value2) {
            addCriterion("admin_pass between", value1, value2, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminPassNotBetween(String value1, String value2) {
            addCriterion("admin_pass not between", value1, value2, "adminPass");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameIsNull() {
            addCriterion("admin_username is null");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameIsNotNull() {
            addCriterion("admin_username is not null");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameEqualTo(String value) {
            addCriterion("admin_username =", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameNotEqualTo(String value) {
            addCriterion("admin_username <>", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameGreaterThan(String value) {
            addCriterion("admin_username >", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("admin_username >=", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameLessThan(String value) {
            addCriterion("admin_username <", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameLessThanOrEqualTo(String value) {
            addCriterion("admin_username <=", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameLike(String value) {
            addCriterion("admin_username like", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameNotLike(String value) {
            addCriterion("admin_username not like", value, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameIn(List<String> values) {
            addCriterion("admin_username in", values, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameNotIn(List<String> values) {
            addCriterion("admin_username not in", values, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameBetween(String value1, String value2) {
            addCriterion("admin_username between", value1, value2, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminUsernameNotBetween(String value1, String value2) {
            addCriterion("admin_username not between", value1, value2, "adminUsername");
            return (Criteria) this;
        }

        public Criteria andAdminGenderIsNull() {
            addCriterion("admin_gender is null");
            return (Criteria) this;
        }

        public Criteria andAdminGenderIsNotNull() {
            addCriterion("admin_gender is not null");
            return (Criteria) this;
        }

        public Criteria andAdminGenderEqualTo(Boolean value) {
            addCriterion("admin_gender =", value, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderNotEqualTo(Boolean value) {
            addCriterion("admin_gender <>", value, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderGreaterThan(Boolean value) {
            addCriterion("admin_gender >", value, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderGreaterThanOrEqualTo(Boolean value) {
            addCriterion("admin_gender >=", value, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderLessThan(Boolean value) {
            addCriterion("admin_gender <", value, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderLessThanOrEqualTo(Boolean value) {
            addCriterion("admin_gender <=", value, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderIn(List<Boolean> values) {
            addCriterion("admin_gender in", values, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderNotIn(List<Boolean> values) {
            addCriterion("admin_gender not in", values, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderBetween(Boolean value1, Boolean value2) {
            addCriterion("admin_gender between", value1, value2, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminGenderNotBetween(Boolean value1, Boolean value2) {
            addCriterion("admin_gender not between", value1, value2, "adminGender");
            return (Criteria) this;
        }

        public Criteria andAdminMailIsNull() {
            addCriterion("admin_mail is null");
            return (Criteria) this;
        }

        public Criteria andAdminMailIsNotNull() {
            addCriterion("admin_mail is not null");
            return (Criteria) this;
        }

        public Criteria andAdminMailEqualTo(String value) {
            addCriterion("admin_mail =", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailNotEqualTo(String value) {
            addCriterion("admin_mail <>", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailGreaterThan(String value) {
            addCriterion("admin_mail >", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailGreaterThanOrEqualTo(String value) {
            addCriterion("admin_mail >=", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailLessThan(String value) {
            addCriterion("admin_mail <", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailLessThanOrEqualTo(String value) {
            addCriterion("admin_mail <=", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailLike(String value) {
            addCriterion("admin_mail like", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailNotLike(String value) {
            addCriterion("admin_mail not like", value, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailIn(List<String> values) {
            addCriterion("admin_mail in", values, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailNotIn(List<String> values) {
            addCriterion("admin_mail not in", values, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailBetween(String value1, String value2) {
            addCriterion("admin_mail between", value1, value2, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminMailNotBetween(String value1, String value2) {
            addCriterion("admin_mail not between", value1, value2, "adminMail");
            return (Criteria) this;
        }

        public Criteria andAdminRoleIsNull() {
            addCriterion("admin_role is null");
            return (Criteria) this;
        }

        public Criteria andAdminRoleIsNotNull() {
            addCriterion("admin_role is not null");
            return (Criteria) this;
        }

        public Criteria andAdminRoleEqualTo(Integer value) {
            addCriterion("admin_role =", value, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleNotEqualTo(Integer value) {
            addCriterion("admin_role <>", value, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleGreaterThan(Integer value) {
            addCriterion("admin_role >", value, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_role >=", value, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleLessThan(Integer value) {
            addCriterion("admin_role <", value, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleLessThanOrEqualTo(Integer value) {
            addCriterion("admin_role <=", value, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleIn(List<Integer> values) {
            addCriterion("admin_role in", values, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleNotIn(List<Integer> values) {
            addCriterion("admin_role not in", values, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleBetween(Integer value1, Integer value2) {
            addCriterion("admin_role between", value1, value2, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminRoleNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_role not between", value1, value2, "adminRole");
            return (Criteria) this;
        }

        public Criteria andAdminCreateIsNull() {
            addCriterion("admin_create is null");
            return (Criteria) this;
        }

        public Criteria andAdminCreateIsNotNull() {
            addCriterion("admin_create is not null");
            return (Criteria) this;
        }

        public Criteria andAdminCreateEqualTo(Date value) {
            addCriterion("admin_create =", value, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateNotEqualTo(Date value) {
            addCriterion("admin_create <>", value, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateGreaterThan(Date value) {
            addCriterion("admin_create >", value, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("admin_create >=", value, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateLessThan(Date value) {
            addCriterion("admin_create <", value, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateLessThanOrEqualTo(Date value) {
            addCriterion("admin_create <=", value, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateIn(List<Date> values) {
            addCriterion("admin_create in", values, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateNotIn(List<Date> values) {
            addCriterion("admin_create not in", values, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateBetween(Date value1, Date value2) {
            addCriterion("admin_create between", value1, value2, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminCreateNotBetween(Date value1, Date value2) {
            addCriterion("admin_create not between", value1, value2, "adminCreate");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressIsNull() {
            addCriterion("admin_tx_address is null");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressIsNotNull() {
            addCriterion("admin_tx_address is not null");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressEqualTo(String value) {
            addCriterion("admin_tx_address =", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressNotEqualTo(String value) {
            addCriterion("admin_tx_address <>", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressGreaterThan(String value) {
            addCriterion("admin_tx_address >", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressGreaterThanOrEqualTo(String value) {
            addCriterion("admin_tx_address >=", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressLessThan(String value) {
            addCriterion("admin_tx_address <", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressLessThanOrEqualTo(String value) {
            addCriterion("admin_tx_address <=", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressLike(String value) {
            addCriterion("admin_tx_address like", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressNotLike(String value) {
            addCriterion("admin_tx_address not like", value, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressIn(List<String> values) {
            addCriterion("admin_tx_address in", values, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressNotIn(List<String> values) {
            addCriterion("admin_tx_address not in", values, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressBetween(String value1, String value2) {
            addCriterion("admin_tx_address between", value1, value2, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminTxAddressNotBetween(String value1, String value2) {
            addCriterion("admin_tx_address not between", value1, value2, "adminTxAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressIsNull() {
            addCriterion("admin_address is null");
            return (Criteria) this;
        }

        public Criteria andAdminAddressIsNotNull() {
            addCriterion("admin_address is not null");
            return (Criteria) this;
        }

        public Criteria andAdminAddressEqualTo(String value) {
            addCriterion("admin_address =", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressNotEqualTo(String value) {
            addCriterion("admin_address <>", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressGreaterThan(String value) {
            addCriterion("admin_address >", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressGreaterThanOrEqualTo(String value) {
            addCriterion("admin_address >=", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressLessThan(String value) {
            addCriterion("admin_address <", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressLessThanOrEqualTo(String value) {
            addCriterion("admin_address <=", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressLike(String value) {
            addCriterion("admin_address like", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressNotLike(String value) {
            addCriterion("admin_address not like", value, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressIn(List<String> values) {
            addCriterion("admin_address in", values, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressNotIn(List<String> values) {
            addCriterion("admin_address not in", values, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressBetween(String value1, String value2) {
            addCriterion("admin_address between", value1, value2, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminAddressNotBetween(String value1, String value2) {
            addCriterion("admin_address not between", value1, value2, "adminAddress");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameIsNull() {
            addCriterion("admin_realname is null");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameIsNotNull() {
            addCriterion("admin_realname is not null");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameEqualTo(String value) {
            addCriterion("admin_realname =", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameNotEqualTo(String value) {
            addCriterion("admin_realname <>", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameGreaterThan(String value) {
            addCriterion("admin_realname >", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameGreaterThanOrEqualTo(String value) {
            addCriterion("admin_realname >=", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameLessThan(String value) {
            addCriterion("admin_realname <", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameLessThanOrEqualTo(String value) {
            addCriterion("admin_realname <=", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameLike(String value) {
            addCriterion("admin_realname like", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameNotLike(String value) {
            addCriterion("admin_realname not like", value, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameIn(List<String> values) {
            addCriterion("admin_realname in", values, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameNotIn(List<String> values) {
            addCriterion("admin_realname not in", values, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameBetween(String value1, String value2) {
            addCriterion("admin_realname between", value1, value2, "adminRealname");
            return (Criteria) this;
        }

        public Criteria andAdminRealnameNotBetween(String value1, String value2) {
            addCriterion("admin_realname not between", value1, value2, "adminRealname");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}